﻿<%@ Page Language="vb" MasterPageFile="~/template/PSP/Master/Default.Master" ValidateRequest="false" AutoEventWireup="false" CodeBehind="Pages.aspx.vb" Inherits="MeoTom.Web.Blog.Pages" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ctph" Runat="Server">
<div class="content-post fl">

    <div id="ArticlePassword" runat="server" visible="false">
        <fieldset style="margin: 0pt auto; padding: 0px; width: 350px;">
            <legend style="font-family: Arial; font-size: 13px; margin-left: 5px; margin-bottom: 3px;font-weight:bold;">Bài viết đã được bảo vệ bằng mật khẩu:</legend>
            <div style="text-align:center;">Xin vui lòng nhập mật khẩu:<br />
            <asp:TextBox ID="txtPassword" TextMode="Password" runat="server" Width="200"></asp:TextBox>
            <asp:Button ID="btnCheckPass" runat="server" Text="Gửi đi" /><br /><br /></div>
        </fieldset>
    </div>
    
    <div id="ArticleContent" runat="server" class="ArticleContent">
        <h2>
            <asp:HyperLink ID="lnkTitle" runat="server"></asp:HyperLink></h2>
        <p>
            <asp:Literal ID="ltrAbstract" runat="server"></asp:Literal></p>
            <div id="sociable"></div>
    </div>
    <%-- begin comments --%>
    <div id="CommentContent" runat="server" class="CommentContent"></div>

    <div class="commentform" id="CommentForm" runat="server">
        <form id="form1" name="form1" action="/Services/ValidateComment.ashx" method="post" onsubmit="javascript:return Util.submitComment(this);return false;">
            <h3><a href="#PostComment" name="PostComment" id="PostComment" title="Viết bình luận">Viết bình luận</a></h3>
            <div class="hr fl">&nbsp;</div>
            <div style="width:555px;float:left;padding-left:20px;padding-right:29px;">
                <table cellpadding="0" cellspacing="0" width="99%">
                    <tr>
                        <td><input type="text" tabindex="1" id="txtFullName" value="Họ và tên" name="txtFullName" onblur="javascript:ChangeStatus(this,0,'Họ và tên');" onfocus="javascript:ChangeStatus(this,1,'Họ và tên');" style="width:250px;" /></td>
                        <td colspan="3"><input type="text" tabindex="2" value="Email" id="txtEmail" name="txtEmail" onblur="javascript:ChangeStatus(this,0,'Email');" onfocus="javascript:ChangeStatus(this,1,'Email');" style="width:250px;" /></td>
                    </tr>
                    <tr>
                        <td><input type="text" tabindex="3" id="txtYourUrl" name="txtYourUrl" value="http://" onblur="javascript:ChangeStatus(this,0,'Website của bạn (http://)');" onfocus="javascript:ChangeStatus(this,1,'Website của bạn (http://)');" style="width:250px;" /></td>
                        <td style="text-align:right;width:100px;"><input tabindex="4" type="text" id="txtCode" name="txtCode" onblur="javascript:ChangeStatus(this,0,'Mã xác nhận');" onfocus="javascript:ChangeStatus(this,1,'Mã xác nhận');" style="width:120px;" value="Mã xác nhận" /></td>
                        <td style="text-align:right;width:105px;vertical-align:middle;"><img src="/Services/CapchaImage.ashx" alt="Mã xác nhận" style="border:0px;margin-top:4px;" id="imgValidCode" /></td>
                        <td style="text-align:right;width:25px;padding-top:5px;vertical-align:middle;"><img src="/images/change-image.gif" width="24" height="20" alt="Đổi hình khác" style="cursor:pointer;" onclick="javascript:ChangeImage();" /></td>
                    </tr>
                    <tr>
                        <td colspan="4" style="padding-top:5px;">
                            <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                <tr>
                                    <td valign="top"><textarea id="txtBody" name="txtBody" tabindex="5" rows="10"></textarea><br /><input type="submit" tabindex="5" id="btnSubmit" name="btnSubmit" value="Submit Comment" />&nbsp;&nbsp;<i>* Hỗ trợ thẻ BBCode</i></td>
                                    <td style="width:25%;vertical-align:top;">
                                        <fieldset>
                                            <legend>Emoticons</legend>
                                            <div id="divEmoticons"></div>
                                        </fieldset>                                
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table><br />
            </div>
            <input type="hidden" id="txtId" name="txtId" value="<%=Request.QueryString("PageID")%>" />
            <input type="hidden" id="txtTypeComment" name="txtTypeComment"  value="1" />
            <input type="hidden" id="txtArticleURL" name="txtArticleURL" value="<%=MeoTom.Core.Configs.HomeUrl%><%=Request.QueryString("PageID")%>/<%=Request.QueryString("sPath")%>" />
            <input type="hidden" id="txtTitle" name="txtTitle" value="<%=PageTitle.Replace(" ", "+")%>" />
        </form>     
    </div>
</div>
</asp:Content>